package com.cddx.logistics.domain.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.LocalDateTime;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class StorageLocation {

    @ApiModelProperty("仓库位置ID")
    private Long storageLocationId;

    @ApiModelProperty("仓库位置编码")
    private String storageLocationCode;

    @ApiModelProperty("仓库ID")
    private BigInteger warehouseId;

    @ApiModelProperty("仓库位置名称")
    private String storageLocationName;

    @ApiModelProperty("仓库位置类型")
    private String storageLocationType;

    @ApiModelProperty("仓库位置总容量")
    private BigDecimal storageLocationTotalCapacity;

    @ApiModelProperty("仓库位置已使用容量")
    private BigDecimal storageLocationUsedCapacity;

    @ApiModelProperty("仓库位置容量单位")
    private String storageLocationCapacityUnit = "立方米";

    @ApiModelProperty("仓库位置状态")
    private Integer storageLocationStatus;

    @ApiModelProperty("仓库位置二维码")
    private String storageLocationQrCode;

    @ApiModelProperty("仓库位置描述")
    private String storageLocationRemark;

    @ApiModelProperty("仓库位置创建时间")
    private LocalDateTime storageLocationCreateTime;

    @ApiModelProperty("仓库位置更新时间")
    private LocalDateTime storageLocationUpdateTime;


    @ApiModelProperty("最后预警时间")
    private LocalDateTime lastWarnedAt;

}

